package com.wanlian.dao;

import com.wanlian.common.PageCondition;
import com.wanlian.entity.BlackList;
import com.wanlian.entity.WordBook;
import com.wanlian.model.ResultModel;

import java.util.List;

/**
 * 线上/线下获取类
 */
public interface WordBookDao extends GenericDao<WordBook> {

    WordBook queryWordBookByNameId(String wbname, String wbval2);

    ResultModel queryWordBookList(PageCondition pageCondition);

    WordBook queryWordBookFlag(WordBook wordBook);

    WordBook queryWordBookByVal2(String wbval2);

    List<WordBook> queryWordBooksByVal2(String wbval2);

    List<WordBook> queryChannel();

    /**
     * 获取配置值
     * @param wbval2
     * @return
     */
    List<String>queryWbval1sByVal2(String wbval2);



}
